package com.cloud.feign.service;

import com.joyoung.common.controller.RestRes;
import com.cloud.feign.resp.LogisticsInfoDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

//@FeignClient(value = "logistics-workbench-wms", url = "localhost:8101")
@FeignClient(value = "logistics-workbench-wms")
public interface LogisticsWorkbenchWmsFeign {
    @GetMapping("/accessoryTraceability/getLogisticsInfo")
    RestRes<LogisticsInfoDto> getLogisticsInfo(@RequestParam("barcode") String barcode);
}
